import request from '@/utils/request'
import qs from 'qs'
// 查询当前用户开放服务AccessKey列表
export const getAccessKeyapi = () => request.get('/core/security/openapi/access-key/list')
// 创建开放服务AccessKey
export const postAccessKeyapi = data => request.post('/core/security/openapi/access-key')
// 查询开放服务AccessKey详细信息
export const getOpenapiapi = params => request.get('/core/security/openapi/access-key', { params })
// 停用开放服务AccessKey
export const postDisableapi = accessKey => request.post('/core/security/openapi/access-key/disable', qs.stringify({ accessKey }))
// 
export const getServiceListapi=params=>request.get('/sst-microservice-biz/sst/open/service/access/list', { params })